using CampusModel.Model;

namespace CampusModel.Model;

public class Course(string courseName, int teacherID,int ClassId)
{
    public int CourseID { get; set; }
    public string CourseName { get; set; }= courseName;
    public int TeacherID { get; set; } = teacherID;
    public int ClassId { get; set; } = ClassId;
    public Teacher Teacher { get; set; }
    public Class Class { get; set; }
    // 其他属性
    public ICollection<AttendanceRecord> AttendanceRecords { get; set; } = new HashSet<AttendanceRecord>();
}